<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>会员登录 - {$Config.sitename}</title>
    <link type="text/css" rel="stylesheet" href="/statics/job/css/jxjy.css" />
    <script src="http://libs.baidu.com/jquery/1.9.1/jquery.min.js"></script>
    <script type="text/javascript" src="/statics/job/js/getToday.js"></script>
    <script type="text/javascript" src="/statics/job/js/selectmoni.js"></script>
    <link type="text/css" rel="stylesheet" href="/statics/job/css/style.css" />
    <script src="/statics/job/js/Validform_v5.3.2_min.js" ></script>
  <!--  <script type="text/javascript" src="{$model_extresdir}js/common.js"></script>-->
</head>

<body>
<div class="jxjymain">
    <!--header<start>-->
    <template file="Content/header.php"/>
    <!--header<end>-->


    <div class="login_menu">
        <ul >
            <li  ><a href="{:U('member/index/login')}">登录</a></li>
            <li class="selected"><a href="{:U('member/index/register')}">个人注册</a></li>
            <li class=""><a href="{:U('/member/index/register',['type'=>'company'])}">公司注册</a></li>
        </ul>
    </div>
    <div class="login_member">
        <div class="dw1">更便捷</div>
        <div class="dw2">更快</div>
        <div class="dw3">更多</div>
        <div class="dw4">不止是一次工作机会<br />
            更是人生的一次转机</div>

        <div class="login_form">
            <form id="form1" action="{:U('Public/doRegister')}" method="post">
                <h2>个人用户注册</h2>

                <table width="100%" border="1">
                    <tr>
                        <td width="23%" align="right">账号：</td>
                        <td colspan="2"><input type="text" name="username" class="member_input" id="username" datatype="*4-18" /></td>
                    </tr>
                    <tr>
                        <td align="right">密码：</td>
                        <td colspan="2"><input type="password" name="password" class="member_input"  datatype="*6-16" nullmsg="请设置密码！" /></td>
                    </tr>
                    <tr>
                        <td align="right">确认密码：</td>
                        <td colspan="2"><input type="password" name="password2" class="member_input" datatype="*" recheck="password" nullmsg="请再输入一次密码！" errormsg="您两次输入的账号密码不一致！" /></td>
                    </tr>
                    <tr>
                        <td align="right">验证码：</td>
                        <td colspan="2"><input type="text" name="vCode" class="member_input" datatype="*" /></td>
                    </tr>
                    <tr>
                        <td align="right">&nbsp;</td>
                        <td width="34%">
                            <div  style="margin-left: 10px;">
                                <a href="javascript:refreshs();"><img id="authCode" align="absmiddle" title="看不清？点击更换" src="{:U("/api/checkcode/index","type=userlogin&code_len=4&font_size=14&width=80&height=32&font_color=&background=")}"></
                            </div>
                        </td>
                        <td width="43%"><a href="javascript:refreshs();"><p>看不清<br />换一张</p></a></td>
                    </tr>
                    <tr>
                        <td align="right">&nbsp;<input type="hidden" name="email" id="email" value="user@mail.net"/></td>
                        <td colspan="2"><input type="submit" class="member_btn"  value="注册" /></td>
                    </tr>

                </table>

            </form>
        </div>


    </div>

    <div class="clear"></div>

    <template file="Content/footer.php"/>
</div>

</body>
<script type="text/javascript">
    function refreshs(){
        $('#authCode').attr('src','{:U("Api/Checkcode/index","code_len=4&font_size=14&width=80&height=32&font_color=&background=&refresh=1")}&time='+Math.random());
    }
    $(function(){
        $("#form1").Validform({
            tiptype:1,
            showAllError:true,
            postonce:true,
            ajaxPost:false

        });

       $('#username').blur(function(){
           var str = $(this).val()+'@'+$(this).val()+'.com';
           $('#email').val(str);
       });

    });

</script>
</html>
